package com.vanysoft.business.data.entity;

import com.baomidou.mybatisplus.annotations.TableName;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 集团邓白氏编码
 * </p>
 *
 * @author YangLei
 * @since 2018-07-16
 */
@TableName("BASE_DUNS_ULTIMATE")
public class DunsUltimate implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    private String id;
    /**
     * 集团编码
     */
    private String ultimateCode;
    /**
     * 集团名称
     */
    @NotBlank(message = "{hint.notnull}")
    @Length(max = 80)
    private String ultimateName;
    /**
     * 集团关联品类
     */
    @NotBlank(message = "{hint.notnull}")
    private String ultimateLinkCategory;
    /**
     * 是否启用（1启用 0不启用）
     */
    private String isEnable;
    /**
     * 创建时间
     */
    private Date createTime;
    /**
     * 修改时间
     */
    private Date modifyTime;
    /**
     * 创建人
     */
    private String createUser;
    /**
     * 修改人
     */
    private String modifyUser;


    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUltimateCode() {
        return ultimateCode;
    }

    public void setUltimateCode(String ultimateCode) {
        this.ultimateCode = ultimateCode;
    }

    public String getUltimateName() {
        return ultimateName;
    }

    public void setUltimateName(String ultimateName) {
        this.ultimateName = ultimateName;
    }

    public String getUltimateLinkCategory() {
        return ultimateLinkCategory;
    }

    public void setUltimateLinkCategory(String ultimateLinkCategory) {
        this.ultimateLinkCategory = ultimateLinkCategory;
    }

    public String getIsEnable() {
        return isEnable;
    }

    public void setIsEnable(String isEnable) {
        this.isEnable = isEnable;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser;
    }

    @Override
    public String toString() {
        return "DunsUltimate{" +
                "id=" + id +
                ", ultimateCode=" + ultimateCode +
                ", ultimateName=" + ultimateName +
                ", ultimateLinkCategory=" + ultimateLinkCategory +
                ", isEnable=" + isEnable +
                ", createTime=" + createTime +
                ", modifyTime=" + modifyTime +
                ", createUser=" + createUser +
                ", modifyUser=" + modifyUser +
                "}";
    }
}
